package com.fowo.api.sys.model;

import com.fowo.api.common.model.PageSearch;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 系统用户查询条件
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysUserSearch extends PageSearch {

    @Schema(title = "编号列表")
    private List<Long> ids;

    @Schema(title = "显示名称等于")
    private String nameEq;

    @Schema(title = "角色编号")
    private List<Long> roleIdIn;

    @Schema(title = "部门编号")
    private List<Long> departmentIdIn;
}
